package tcu.ead.leety.tcuplant.common;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class QuerySwitchUtils {
    public static String QuerySwitch(String URL) {
        try {
            String url = URLDecoder.decode(URL, "UTF-8");
            return url.replace("id=", "");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
            return null;
        }
    }
}
